_t_a_r_g_e_t The minmax table whose parameters are to be set. Must be
GGGGLLLL____MMMMIIIINNNNMMMMAAAAXXXX.
_i_n_t_e_r_n_a_l_f_o_r_m_a_t The format of entries in the minmax table. Must be one
of GGGGLLLL____AAAALLLLPPPPHHHHAAAA, GGGGLLLL____AAAALLLLPPPPHHHHAAAA4444, GGGGLLLL____AAAALLLLPPPPHHHHAAAA8888, GGGGLLLL____AAAALLLLPPPPHHHHAAAA11112222,
GGGGLLLL____RRRRGGGGBBBB5555____AAAA1111, GGGGLLLL____RRRRGGGGBBBBAAAA8888, GGGGLLLL____RRRRGGGGBBBB11110000____AAAA2222, GGGGLLLL____RRRRGGGGBBBBAAAA11112222, or
GGGGLLLL____RRRRGGGGBBBBAAAA11116666.
_s_i_n_k If GGGGLLLL____TTTTRRRRUUUUEEEE, pixels will be consumed by the minmax process
and no drawing or texture loading will take place. If
GGGGLLLL____FFFFAAAALLLLSSSSEEEE, pixels will proceed to the final conversion
process after minmax.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
When GGGGLLLL____MMMMIIIINNNNMMMMAAAAXXXX is enabled, the RGBA components of incoming pixels are
compared to the minimum and maximum values for each component, which are
stored in the 2-element minmax table. (The first element stores the
minima, and the second element stores the maxima.) If a pixel component
is greater than the corresponding component in the maximum element, then
the maximum element is updated with the pixel component value. If a
pixel component is less than the corresponding component in the minimum
element, then the minimum element is updated with the pixel component
value. (In both cases, if the internal format of the minmax table
includes luminance, then the R color component of incoming pixels is used
for comparison.) The contents of the minmax table may be retrieved at a
later time by calling ggggllllGGGGeeeettttMMMMiiiinnnnmmmmaaaaxxxx. The minmax operation is enabled or
disabled by calling ggggllllEEEEnnnnaaaabbbblllleeee or ggggllllDDDDiiiissssaaaabbbblllleeee, respectively, with an argument
of GGGGLLLL____MMMMIIIINNNNMMMMAAAAXXXX.
ggggllllMMMMiiiinnnnmmmmaaaaxxxx redefines the current minmax table to have entries of the format
specified by _i_n_t_e_r_n_a_l_f_o_r_m_a_t. The maximum element is initialized with the
smallest possible component values, and the minimum element is
initialized with the largest possible component values. The values in
the previous minmax table, if any, are lost. If _s_i_n_k is GGGGLLLL____TTTTRRRRUUUUEEEE, then
pixels are discarded after minmax; no further processing of the pixels
takes place, and no drawing, texture loading, or pixel readback will
result.
NNNNOOOOTTTTEEEESSSS
ggggllllMMMMiiiinnnnmmmmaaaaxxxx is present only if GGGGLLLL____AAAARRRRBBBB____iiiimmmmaaaaggggiiiinnnngggg is returned when ggggllllGGGGeeeettttSSSSttttrrrriiiinnnngggg
is called with an argument of GGGGLLLL____EEEEXXXXTTTTEEEENNNNSSSSIIIIOOOONNNNSSSS.
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _t_a_r_g_e_t is not one of the allowable
values.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____EEEENNNNUUUUMMMM is generated if _i_n_t_e_r_n_a_l_f_o_r_m_a_t is not one of the
allowable values.
GGGGLLLL____IIIINNNNVVVVAAAALLLLIIIIDDDD____OOOOPPPPEEEERRRRAAAATTTTIIIIOOOONNNN is generated if ggggllllMMMMiiiinnnnmmmmaaaaxxxx is executed between the
execution of ggggllllBBBBeeeeggggiiiinnnn and the corresponding execution of ggggllllEEEEnnnndddd.